SipClientPublishEventState Method (String, String, Int32, String, String) |
Publishes initial event state.
Namespace:
Independentsoft.Sip
Assembly:
Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntaxpublic RequestResponse PublishEventState(
string from,
string eventName,
int expires,
string body,
string contentType
)
Public Function PublishEventState (
from As String,
eventName As String,
expires As Integer,
body As String,
contentType As String
) As RequestResponse
Parameters
- from
- Type: SystemString
A string contains address of the publisher of the event. - eventName
- Type: SystemString
A string contains name of the event. - expires
- Type: SystemInt32
A number of seconds indicates duration of the subscription. - body
- Type: SystemString
A string contains event state information. - contentType
- Type: SystemString
Content type of the body.
Return Value
Type:
RequestResponseA
RequestResponse containing sent
Request and received appropriate
Response.
See Also